<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>标题</title>
</head>
<body>
	<h1>标题</h1>
	<hr />
	
</body>
<script type="text/javascript" src="./1.js"></script>
<script type="text/javascript">
	
	console.time('star');
	// var arr = [];
	console.log( arr.length );
	var _hash = {};
	var _result = [];
	for(var i = 0; i < arr.length; i++ ){

		if( !_hash[ arr[i] ] ){
			_hash[arr[i]] = 1;
			_result.push( arr[i] );
		}
	}

	console.log(_result);
	console.log( _result.length );
	
	console.timeEnd('star');

</script>
</html>